﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ucSlideShow : System.Web.UI.UserControl
{
    object ds;
    string _pagename;
    public object DS
    {
        get { return ds; }
        set { ds = value; }
    }

    public string pagename
    {
        get { return _pagename; }
        set { _pagename = value; }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            repNavi.DataSource = ds;
            repNavi.DataBind();

            repSlider.DataSource = ds;
            repSlider.DataBind();
        }
    }
}